package cn.wonderland.org.mapper;

import cn.wonderland.base.vo.EchartsMidVo;
import cn.wonderland.org.domain.Shop;
import cn.wonderland.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wonderland
 * @since 2022-12-26
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String shopName);

    Shop findByAdminId(Long adminId);

    void batchSave(List<Shop> shops);

    List<EchartsMidVo> echarts();
}
